package com.mxpio.erp.common.technology.entity;

import com.mxpio.erp.common.jpa.model.OrderLine;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "MB_ERP_TECHNOLOGY_BOM_LINE")
@ApiModel(value="Bom")
public class BomInfoLine extends OrderLine {

	private static final long serialVersionUID = 1L;


	@Column(name = "ITEM_CODE_")
	@ApiModelProperty(value = "子项物料编号")
	private String itemCode;

	@Column(name = "ITEM_NAME_")
	@ApiModelProperty(value = "子项物料名称")
	private String itemName ;

	@Column(name = "ITEM_SPEC_")
	@ApiModelProperty(value = "子项物料规格型号")
	private String itemSpec;

	@Column(name = "ITEM_PROP_")
	@ApiModelProperty(value = "子项物料属性")
	private String itemProp;

	@Column(name = "ITEM_CONSUMPTION_")
	@ApiModelProperty(value = "子项物料用量")
	private String itemConsumption;

	@Column(name = "REPLACE_ITEM_")
	@ApiModelProperty(value = "替代物料")
	private String replaceItem;


	@Column(name = "MEMO_")
	@ApiModelProperty(value = "备注")
	private String memo;
}
